<template>
<view>
	<u-navbar :is-back="false" title="系统日志"
	  title-size="30"
	  :background="{background:'#2B88FE' }"
	  title-color="#fff">
	  <div class="head_icon">
	    <u-icon @click="$api.handleBackTo"
	      name="arrow-left" color="#fff"
	      size="36">
	    </u-icon>
	    <u-icon @click="$api.handleHomeTo"
	      name="home" color="#fff" size="36">
	    </u-icon>
	  </div>
	</u-navbar>

	
  <div class="user_log">
    <u-card :title="item.fUserName" :sub-title="item.fAddTime" v-for="(item,index) in clist"
      :key="index">
      <view class="" slot="body">
        <view class="u-body-item u-flex u-border-bottom u-col-between u-p-t-0">
          <view class="u-body-item-title u-line-2">{{item.fLog}}</view>
          <view class="u-body-item-title u-line-10"> {{item.fIp}}</view>

        </view>
      </view>
    </u-card>
  </div>
  
  </view>	
</template>

<script>
export default {
  data() {
    return {
      clist: [],
    }
  },
  onReady() {
    this.$axios('api/User/UserLogListPaged', 'post', { value: 0 }).then((res) => {
      this.clist = res.Value.List
    })
  },
}
</script>

<style lang="scss" scoped>
</style>